package com.softlook.mt.client.data;

import com.google.gwt.user.client.rpc.IsSerializable;

public class Device implements IsSerializable {

	private String m_name;
	private double m_lat, m_lng;
	private Integer m_id;
	
	public void set(int id, String name, double lat, double lng){
		m_id = new Integer(id);
		m_name = name;
		setPoint(lat, lng);
	}

	public void setPoint(double lat, double lng){
		m_lat = lat;
		m_lng = lng;
	}

	public Integer getId(){
		return m_id;
	}
	public String getName(){
		return m_name;
	}
	public double getLat(){
		return m_lat;
	}
	public double getLng(){
		return m_lng;
	}
}

